package com.senlingspace.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.senlingspace.common.annotation.Excel;
import com.senlingspace.common.core.domain.BaseEntity;

/**
 * 员工交接班记录对象 slkj_shift_management
 *
 * @author SenlingSpace
 * @date 2024-09-14
 */
public class SlkjShiftManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 交班号 */
    @Excel(name = "交班号")
    private Long handoverId;

    /** 门店名称 */
    @Excel(name = "门店名称")
    private String shopName;

    /** 门店id */
    @Excel(name = "门店id")
    private Long shopId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 领用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结算时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 备用现金 */
    @Excel(name = "备用现金")
    private Long pettyCash;

    /** 总收款 */
    @Excel(name = "总收款")
    private Long totalReceipts;

    /** 总订单数 */
    @Excel(name = "总订单数")
    private Long orderNum;

    /** 总售票数 */
    @Excel(name = "总售票数")
    private Long ticketNum;

    /** 现金收款 */
    @Excel(name = "现金收款")
    private Long cashReceipts;

    /** 现金支付订单数量 */
    @Excel(name = "现金支付订单数量")
    private Long cashOrderNum;

    /** 现金支付门票数量 */
    @Excel(name = "现金支付门票数量")
    private Long cashTicketNum;

    /** 扫码收款 */
    @Excel(name = "扫码收款")
    private Long scanForPayment;

    /** 扫码订单数量 */
    @Excel(name = "扫码订单数量")
    private Long scanOrderNum;

    /** 扫码支付门票数量 */
    @Excel(name = "扫码支付门票数量")
    private Long scanTicketNum;

    /** 核销订单数量 */
    @Excel(name = "核销订单数量")
    private Long onlineScanOrderNum;

    /** 核销门票数量 */
    @Excel(name = "核销门票数量")
    private Long onlineScanTicketNum;

    /** 现金支付商品数量 */
    @Excel(name = "现金支付商品数量")
    private Long cashQuantity;

    /** 扫码支付商品数量 */
    @Excel(name = "扫码支付商品数量")
    private Long scanQuantity;

    /** 总售卖商品数量 */
    @Excel(name = "总售卖商品数量")
    private Long quantityNum;

    /** 应交班现金金额 */
    @Excel(name = "应交班现金金额")
    private Long shiftHandover;

    /** 现金退款金额 */
    @Excel(name = "现金退款金额")
    private Long cashRefund;

    /** 扫码退款金额 */
    @Excel(name = "扫码退款金额")
    private Long scanRefund;

    /** 状态0上班中，1已交班 */
    @Excel(name = "状态0上班中，1已交班")
    private String status;

    /** 删除表示（0代表存在 1代表删除） */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setHandoverId(Long handoverId)
    {
        this.handoverId = handoverId;
    }

    public Long getHandoverId()
    {
        return handoverId;
    }
    public void setShopName(String shopName)
    {
        this.shopName = shopName;
    }

    public String getShopName()
    {
        return shopName;
    }
    public void setShopId(Long shopId)
    {
        this.shopId = shopId;
    }

    public Long getShopId()
    {
        return shopId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setPettyCash(Long pettyCash)
    {
        this.pettyCash = pettyCash;
    }

    public Long getPettyCash()
    {
        return pettyCash;
    }
    public void setTotalReceipts(Long totalReceipts)
    {
        this.totalReceipts = totalReceipts;
    }

    public Long getTotalReceipts()
    {
        return totalReceipts;
    }
    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }
    public void setTicketNum(Long ticketNum)
    {
        this.ticketNum = ticketNum;
    }

    public Long getTicketNum()
    {
        return ticketNum;
    }
    public void setCashReceipts(Long cashReceipts)
    {
        this.cashReceipts = cashReceipts;
    }

    public Long getCashReceipts()
    {
        return cashReceipts;
    }
    public void setCashOrderNum(Long cashOrderNum)
    {
        this.cashOrderNum = cashOrderNum;
    }

    public Long getCashOrderNum()
    {
        return cashOrderNum;
    }
    public void setCashTicketNum(Long cashTicketNum)
    {
        this.cashTicketNum = cashTicketNum;
    }

    public Long getCashTicketNum()
    {
        return cashTicketNum;
    }
    public void setScanForPayment(Long scanForPayment)
    {
        this.scanForPayment = scanForPayment;
    }

    public Long getScanForPayment()
    {
        return scanForPayment;
    }
    public void setScanOrderNum(Long scanOrderNum)
    {
        this.scanOrderNum = scanOrderNum;
    }

    public Long getScanOrderNum()
    {
        return scanOrderNum;
    }
    public void setScanTicketNum(Long scanTicketNum)
    {
        this.scanTicketNum = scanTicketNum;
    }

    public Long getScanTicketNum()
    {
        return scanTicketNum;
    }
    public void setOnlineScanOrderNum(Long onlineScanOrderNum)
    {
        this.onlineScanOrderNum = onlineScanOrderNum;
    }

    public Long getOnlineScanOrderNum()
    {
        return onlineScanOrderNum;
    }
    public void setOnlineScanTicketNum(Long onlineScanTicketNum)
    {
        this.onlineScanTicketNum = onlineScanTicketNum;
    }

    public Long getOnlineScanTicketNum()
    {
        return onlineScanTicketNum;
    }
    public void setCashQuantity(Long cashQuantity)
    {
        this.cashQuantity = cashQuantity;
    }

    public Long getCashQuantity()
    {
        return cashQuantity;
    }
    public void setScanQuantity(Long scanQuantity)
    {
        this.scanQuantity = scanQuantity;
    }

    public Long getScanQuantity()
    {
        return scanQuantity;
    }
    public void setQuantityNum(Long quantityNum)
    {
        this.quantityNum = quantityNum;
    }

    public Long getQuantityNum()
    {
        return quantityNum;
    }
    public void setShiftHandover(Long shiftHandover)
    {
        this.shiftHandover = shiftHandover;
    }

    public Long getShiftHandover()
    {
        return shiftHandover;
    }
    public void setCashRefund(Long cashRefund)
    {
        this.cashRefund = cashRefund;
    }

    public Long getCashRefund()
    {
        return cashRefund;
    }
    public void setScanRefund(Long scanRefund)
    {
        this.scanRefund = scanRefund;
    }

    public Long getScanRefund()
    {
        return scanRefund;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("handoverId", getHandoverId())
                .append("shopName", getShopName())
                .append("shopId", getShopId())
                .append("userId", getUserId())
                .append("nickName", getNickName())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("pettyCash", getPettyCash())
                .append("totalReceipts", getTotalReceipts())
                .append("orderNum", getOrderNum())
                .append("ticketNum", getTicketNum())
                .append("cashReceipts", getCashReceipts())
                .append("cashOrderNum", getCashOrderNum())
                .append("cashTicketNum", getCashTicketNum())
                .append("scanForPayment", getScanForPayment())
                .append("scanOrderNum", getScanOrderNum())
                .append("scanTicketNum", getScanTicketNum())
                .append("onlineScanOrderNum", getOnlineScanOrderNum())
                .append("onlineScanTicketNum", getOnlineScanTicketNum())
                .append("cashQuantity", getCashQuantity())
                .append("scanQuantity", getScanQuantity())
                .append("quantityNum", getQuantityNum())
                .append("shiftHandover", getShiftHandover())
                .append("cashRefund", getCashRefund())
                .append("scanRefund", getScanRefund())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
